package com.pollux.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: pollux
 * @CreateTime: 2024-10-30
 * @Description: jwt令牌属性类
 * @Version: 1.0
 */

@Component
@ConfigurationProperties(prefix = "pollux.jwt")
@Data
public class JwtProperties {

    /*用户端令牌配置*/
    //用户密钥
    private String userSecretKey;
    //过期时间
    private Long userTtl;
    //令牌名称
    private String userTokenName;


}







